<!-- 企业管理-企业审核 -->
<template>
  <div>
    <a-tabs v-model="tab">
      <a-tab-pane :key="1" tab="认证待办"></a-tab-pane>
      <a-tab-pane :key="2" tab="变更待办"></a-tab-pane>
      <a-tab-pane :key="3" tab="注销待办"></a-tab-pane>
      <a-tab-pane :key="4" tab="认证已办"></a-tab-pane>
      <a-tab-pane :key="5" tab="变更已办"></a-tab-pane>
      <a-tab-pane :key="6" tab="注销已办"></a-tab-pane>
    </a-tabs>
    <div v-if="tab === 1">
      <ToCertification></ToCertification>
    </div>
    <div v-if="tab === 2">
      <ToChange></ToChange>
    </div>
    <div v-if="tab === 3">
      <ToWriteOff></ToWriteOff>
    </div>
    <div v-if="tab === 4">
      <Certification></Certification>
    </div>
    <div v-if="tab === 5">
      <Change></Change>
    </div>
    <div v-if="tab === 6">
      <WriteOff></WriteOff>
    </div>
  </div>
</template>
<script>
export default {
  components: {
    ToCertification: () => import('./ToCertification.vue'),
    ToChange: () => import('./ToChange.vue'),
    Certification: () => import('./Certification.vue'),
    Change: () => import('./Change.vue'),
    ToWriteOff: () => import('./ToWriteOff.vue'),
    WriteOff: () => import('./WriteOff.vue')
  },
  data() {
    return {
      tab: 1
    }
  },
  methods: {
    search() {
      this.$refs.page.search()
    }
  }
}
</script>

<style lang="scss" scoped></style>
